package com.srx.user.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

/**
 * 借阅记录实体类
 * @author srx
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Borrowing
{

    /**
     * 借阅记录ID
     */
    private Integer id;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 图书ID
     */
    private Integer bookId;
    /**
     * 借阅日期
     */
    private Date borrowingDate;
    /**
     * 应还日期
     */
    private Date dueDate;
    /**
     * 实际归还日期
     */
    private Date returnDate;
    /**
     * 借阅状态
     */
    private String status;

}
